<template>
  <div class="note-card">
    <div class="first">
      <span>2022.08.23</span>
      <span>留言</span>
    </div>
    <div class="second">
      这是一段暖心的话，它或许不长，
      但是它是我现在最想说的。放在这里就留一个纪念吧，
      不用回头看，应为现在才是当下最好的。
      这是一段暖心的话，它或许不长，但是它是我现在最想说的。
      放在这里就留一个纪念吧。
    </div>
    <div class="third">
      <div class="left">
        <span>
          <svg class="icon" aria-hidden="true">
            <use xlink:href="#icon-aixin1"></use>
          </svg>
        </span>
        <span>12</span>
        <span style="margin-left: 10px">
          <svg class="icon" aria-hidden="true">
            <use xlink:href="#icon-weixin"></use>
          </svg>
        </span>
        <span>4</span>
      </div>
      <div class="right">周五吃披萨</div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.note-card {
  &:hover {
    transition: all 0.3s;
    margin-top: -5px;
    cursor: pointer;
  }
  margin-right: 12px;
  width: 288px;
  height: 240px;
  padding: 20px;
  line-height: 20px;
  background: #fcafa24d;
  font-size: 14px;
  position: relative;
  border-radius: 4px;
  color: #5b5b5b;
  span {
    display: inline-block;
  }
  .second {
    text-indent: 2em;
    margin-top: 12px;
    height: 180px;
    font-family: HanziPenSC-W3;
    font-weight: W3;
    font-size: 14px;
    display: -webkit-box;
    line-clamp: 6;
    box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
  }
  .first {
    display: flex;
    justify-content: space-between;
  }
  .third {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .left {
    svg {
      width: 20px;
      height: 20px;
    }
  }
}
</style>
